package com.xuecheng.service.Impl;

import com.xuecheng.mapper.CourseCategoryMapper;
import com.xuecheng.service.CourseCategoryService;
import com.xuecheng.vo.CourseCategoryTreeVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Slf4j
@Service
public class CourseCategoryServiceImpl implements CourseCategoryService {
	
	@Resource
	private CourseCategoryMapper courseCategoryMapper;
	
	
	@Override
	public List<CourseCategoryTreeVO> queryTreeNodes() {
		return courseCategoryMapper.selectTreeNodes();
	}
}
